export default {
  /**
   * 04010001---当前养护
   *
   */
  "POST /maintain/maintainmonitor/currentMaintain": (req, res) => {
    res.send({
      trace_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_info: '执行成功',
      request_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_no: '0',
      data: {
        list:[{
          taskId:"1",
          taskName:"巡查",
          taskCode:"0032322322",
          signPerson:"张三",
          allTaskDevCount:20,
          signTaskDevCount:5,
        },{
          taskId:"2",
          taskName:"巡查",
          taskCode:"0032322322",
          signPerson:"李四",
          allTaskDevCount:15,
          signTaskDevCount:3,
        },{
          taskId:"3",
          taskName:"巡查",
          taskCode:"0032322322",
          signPerson:"张三",
          allTaskDevCount:12,
          signTaskDevCount:1,
        }]
      },

    });
  },

  /**
   * 04010002---养护计划
   *
   */
  "POST /maintain/maintainmonitor/maintainTask": (req, res) => {
    res.send({
      trace_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_info: '执行成功',
      request_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_no: '0',
      data: {
        overDue:1,
        today:2,
        tomorrow:3,
        month:12,
      },

    });
  },


  /**
   * 04010003---养护跟踪（废弃）
   *
   */
  "POST /04010003": (req, res) => {
    res.send({
      trace_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_info: '执行成功',
      request_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_no: '0',
      data: {
        list:[{
          devId:"1",
          devName:"设备1",
          devCode:"0010111",
          signPerson:"张三",
          signTime:1515554892000,
          pointName:"具体地址路径",
          longitude:120.204587,
          latitude:30.266558,
          status:"01",
        },{
          devId:"2",
          devName:"设备2",
          devCode:"0010111",
          signPerson:"张三",
          signTime:1515554892000,
          pointName:"具体地址路径",
          longitude:120.204587,
          latitude:30.266558,
          status:"02",
        },{
          devId:"3",
          devName:"设备3",
          devCode:"0010111",
          signPerson:"张三",
          signTime:1515554892000,
          pointName:"具体地址路径",
          longitude:120.204587,
          latitude:30.266558,
          status:"03",
        },{
          devId:"4",
          devName:"设备3",
          devCode:"0010111",
          signPerson:"张三",
          signTime:1515554892000,
          pointName:"具体地址路径",
          longitude:120.204587,
          latitude:30.266558,
          status:"03",
        }]
      },

    });
  },


  /**
   * 04010003---养护监控点位图
   *
   */
  "POST /maintain/maintainmonitor/maintainMap": (req, res) =>{
    res.send({
      trace_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_info: '执行成功',
      request_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_no: '0',
      data: {
        list:[{
          pointId:"1",
          longitude:120.150744,
          latitude:30.27308,
          status:"01"
        },{
          pointId:"2",
          longitude:120.138813,
          latitude:30.279677,
          status:"02"
        }]
      },

    });
  },

};
